package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

public interface OrderService {

    //用户下单
    void submit(Order order);

    //后台订单查询
    Page<Order> findByPage(Integer pageNum, Integer pageSize,String number,String beginTime,String endTime);

    //h5订单查询
    Page<Order> findByUserPage(Integer pageNum, Integer pageSize, String number);
}
